package com.sc.mapper.mapperhand;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.sc.pojo.Appointment;
@Mapper
public interface HandappointmentMapper {
    int deleteByPrimaryKey(Integer aid);

    int insert(Appointment record);

    int insertSelective(Appointment record);

    Appointment selectByPrimaryKey(Integer aid);

    int updateByPrimaryKeySelective(Appointment record);

    int updateByPrimaryKey(Appointment record);
    
    //录入预约申请表：同时 录入客户表基本信息，分配房源
     int insertAppointment(Map<String,Object> map);
    //查询此人是否存在于预约申请表中
    List<Appointment> selectAppointmentbyPhone(String phone);
     
    
    
}